-- GENERATED SPELL FOR [Wastewander Scofflaw] --


function spell0_7805(pUnit, Event) --@Execute,n/a--
pUnit:FullCastSpellOnTarget(7160,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_7805', 0, 1)
end

function Sorts_7805(pUnit, Event)
local choix_sorts_7805 = math.random(0, 0)
if choix_sorts_7805 == 0 then
pUnit:RegisterEvent('spell0_7805', 1, 1)
end
end

function mob7805_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_7805', math.random(1500, 3000), 1)
end

function mob7805_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob7805_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob7805_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(7805, 1, 'mob7805_Action')
RegisterUnitEvent(7805, 2, 'mob7805_Leave')
RegisterUnitEvent(7805, 3, 'mob7805_Kill')
RegisterUnitEvent(7805, 4, 'mob7805_Die')
